import org.w3c.dom.html.HTMLIsIndexElement;
import sun.security.ssl.HandshakeInStream;

public class Hisnese extends TV {
    boolean  d3;
    Hisnese(){}
    Hisnese(String brand,byte size,boolean d3){
        this.brand=brand;
        this.size=size;
        this.d3=d3;
    }
    @Override
    void output(){
        if (d3==true){
            System.out.println("电视机品牌是："+brand+"尺寸是"+size+"是3d电视");
        }else {
         super.output();
        }

    }
}
